/**
 * Created by admin on 2018/10/10.
 */
public enum Size {
    //**************实例**************
    SMALL("S",1) ,
    MEDIUM("M",2 ) ,
    LARGE ("L",3) ,
    EXTRA_LARGE("XL",4);
    //***************属性*****************
    private String key ;
    private int value ;
    //***************构造**************
    private Size (String key,int value) {
        this.key = key ;
        this.value = value ;
    }
    //*****************方法****************
    public String getKey () {
        return key ;
    }
    public int getValue () {
        return value ;
    }
}